Skip to content

fix(server): avoid treating Ubuntu binaries as Homebrew-managed - #53

Merged
asfires merged 1 commit into
mainfrom
t3code/fix-ubuntu-provider-updates
Aug 19, 2026
Merged

fix(server): avoid treating Ubuntu binaries as Homebrew-managed#53
asfires merged 1 commit into
mainfrom
t3code/fix-ubuntu-provider-updates

Conversation

@asfires

@asfires asfires commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What Changed

Updated Homebrew path detection so /usr/local/bin executables are not automatically treated as Homebrew-managed. Added a regression test covering Ubuntu-style package-tool paths.

Why

On Ubuntu, binaries commonly resolve from /usr/local/bin, which could incorrectly trigger Homebrew update handling. Restricting the detection to the actual Homebrew prefix prevents the wrong package manager from being selected.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Add regression coverage for `/usr/local/bin` provider executables on Ubuntu
- Restrict Homebrew path detection to `/opt/homebrew/bin`
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Aug 18, 2026
@asfires
asfires merged commit 9b51cb7 into main Aug 19, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant